package com.changgou.service.impl;

import com.changgou.bean.User;
import com.changgou.mapper.UserMapper;
import com.changgou.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;


    @Override
    public User getUserDetil(String iponeNum, String pwd) {
        return userMapper.getUserDetil(iponeNum,pwd);
    }

    @Override
    public User loginBg(String id) {
        return userMapper.loginBg(id);
    }
}
